package org.xobo.finance.helper.invoice.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.xobo.finance.helper.invoice.repository.InvoiceRepository;
import org.xobo.finance.helper.invoice.service.InvoiceService;

@Service
public class InvoiceServiceImpl implements InvoiceService {

  @Override
  public Long findInvoiceId(String invoiceCode, String invoiceNo) {
    return invoiceRepository.findInvoiceId(invoiceCode, invoiceNo);
  }

  @Autowired
  private InvoiceRepository invoiceRepository;
}
